home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 2002 May
/
SGI IRIX 6.5 Applications 2002 May.iso
/
dist
/
extras
/
netscape_lite.idb
/
usr
/
bin
/
X11
/
onetscape.z
/
onetscape
Wrap
Text File
|
2001-12-20
|
2KB
|
53 lines
#!/bin/sh
#Tag 0x1064E
#########################################################################
# #
# NETSCAPE startup utility #
# Copyright (c) 1997 by Netscape Communications Corporation #
# Copyright (c) 1998-1999 by Silicon Graphics, Inc #
# #
# File name: netscape #
# #
# Version: 1.1 #
# #
# Description: This script starts up Communicator software #
# on an SGI workstation. #
# #
# Usage: To execute the script, type: #
# #
# ./netscape [ args ] #
# #
# Exit codes: 0 Successful completion #
# #
# Author(s): Brian Ostrom (briano@netscape.com) #
# Victor Riley (var@sgi.com) #
# #
# Notes: * MOZILLA_HOME is /var/netscape/communicator #
# #
#########################################################################
#
PRODUCT="Communicator"
MOZILLA_HOME=/var/netscape/communicator
PATH=${MOZILLA_HOME}:${PATH}
# change animation.dat to anim_cube.dat on the SGI_ANIM line
# to restore the old spinning SGI cube animation
SGI_ANIM="${SGI_ANIM:-"${MOZILLA_HOME}/animation.dat"}"
export MOZILLA_HOME PATH SGI_ANIM
#
# Is this a first time startup? If so, create the .netscape dir
# and put the default bookmark file in it.
#
if test ! -d ${HOME}/.netscape
then
# New install, or upgrade from 0.x or 1.x.
mkdir ${HOME}/.netscape
if test -f ${MOZILLA_HOME}/bookmark.htm
then
cp ${MOZILLA_HOME}/bookmark.htm ${HOME}/.netscape/bookmarks.html
chmod 644 ${HOME}/.netscape/bookmarks.html
fi
fi
onetscape "$@" 0>/dev/null 1>&0 2>&0